DrawCircle
Draws a circle,
ellipse or arc on an image.
Syntax: | imaG.DrawCircle x , y , radius , color , startpos , endpos , aspect |
x (single) | The beginning horizontal position of the center point. |
y (single) | The beginning vertical position of the center point. |
radius (single) | radius of the circle |
color (OLE_COLOR) | OPTIONAL - color of the circle (default : imaG.ForeColor) |
startpos (single) | OPTIONAL - start position of the arc (default : 0) |
endpos (single) | OPTIONAL - end position of the arc (default : 2 * pi) |
aspect (single) | OPTIONAL - ellipse radius ralation (default : 1.0 - circle) |
This is a standard Microsoft Visual Basic method.
If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.
If you are using this method
with a palettized image, then the color selected must be
contained in the image's palette. If it is not, then the closest
color found in the image's palette is used.
See also DrawCircle , DrawLine , DrawMode, DrawPoint , DrawString , DrawStyle , DrawWidth